package com.fog.student.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Teacher implements Serializable {
    @TableId(value = "id", type = IdType.ID_WORKER)
    private int id;

    private String username;//学号

    private String name;

    private String password;

    private int classId;

    private String sex = "男";

    private String mobile;

    private String qq;

    private String photo;//头像
}
